﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.Models
{
    /// <summary>
    /// 审批节点表
    /// </summary>
    public class WF_Node
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        public int TypeCode { get; set; }

        public int NodeCode { get; set; }
        public string NodeName { get; set; }
        public int RoleId { get; set; }
        public string RoleName { get; set; }
        public int IsUseDept { get; set; }
        public int PrevNodeCode { get; set; } = 0;
        public int NextNodeCode { get; set; } = 0;
        public int Status { get; set; } = 1;
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
